make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sun, 28 Dec 2025 16:32:33 +0000 (17:32 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 28 Dec 2025 16:32:33 +0000 (17:32 +0100)
commitc864fbbc52d97eb0dcbe61556dc82b52a3a11560
treed6d8977d64db74fbf1600966f402653bb24206b7
parent29609173a999154ca48ae7cf79b67cb240716a36
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c